﻿; (function ($) {
    var defaults = {
        mode            :'Pencil',
        lineWidthMin    :'0',
        lineWidthMax    :'10',
        lineWidth       : '2'
     };
    $.fn.wPaint = function (options) {
        options = $.extend({}, defaults, options || {});
        return this.each(function () {
            //run some code here
            var elem = $(this);
            elem.click(function(){
              alert("Nowtime: " +new  Date().toString());
            });
            //$(this).fadeOut(options.time);
        });
    };
})(jQuery);





/*
; (function ($) {
    var defaults = { time: 5000 };
    $.fn.myFadeOutPlugin = function (options) {
    options = $.extend({}, defaults, options);
    return this.each(function () {
    $(this).fadeOut(options.time);
});
};
})(jQuery);
*/